<?php
$remarr = array(
    'news' =>'nrem',
    'cargo' =>'crem',
    'topic' =>'trem',
    'keres' =>'kerem',
    'demo' =>'drem',
);
$pmod = $remarr[$this->mod];
?>
<h1 class="news_title">{title($title,96,$this->vars)}</h1>
<div class="news_bar"> Pub:<i class="atime">{stime($atime,min)}</i> &nbsp; 
  View:<i id="jsid_field_{=$this->mod}:{=$did}:click">{=$click}<!--,add1--></i> &nbsp; 
  Coms:<i id="cnt_nrem">0</i> </div>
<div class="news_text"> {html($detail)} </div>
<div class="news_rem">
  {if isset($remarr[$this->mod]) }
  <div class="rembar"> 
  <span class="remadd"><a href="{surl(0)}?mkv={=$pmod}&pid={=$did}">Coms(<i id="jsid_count_{=$pmod}:{=$did}">0<!--{=$this->mod},cnt_{=$rempid}--></i>)</a> &nbsp; <a {php vopCell::vOpen($pmod,$did); }>&gt;&gt;Pub</a></span> 
  <span class="remtitle">Coms List</span> 
  </div><!--[cache,60]--> 
  {tag:dlist=[jsList][modid,$pmod][pid,$did][limit,20]}
  {:row}
  <dl>
    <dt>{title($t_title,48,$v)}</dt>
    <dd>
    {text($t_detail,2400)}
    <p class="tr"><span>{=$t_mname}</span> &nbsp; Pub:<i class="atime">{stime($t_atime,min)} </i></p>
    </dd>
  </dl>
  {/row}
  {/tag:dlist}
  {/if}
</div>
<div class="clear"></div>
